import { localStg } from '@/utils';

/** 获取token */
export function getToken() {
  return localStg.get('token') || '';
}
export function getOpenid() {
  return localStg.get('nurse_openid') || '';
}

/** 去除护理用户相关缓存 */
export function clearNursesAuthStorage() {
  localStg.remove('token');
  localStg.remove('nurseNurses');
  localStg.remove('nurse_openid');
}
